package com.cmbyc.todolist.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 事项表
 * </p>
 *
 * @author CYF
 * @since 2022-01-02
 */
@TableName("t_matter")
@ApiModel(value = "Matter对象", description = "事项表")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Matter implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("业务ID,全局唯一ID")
    private String bId;

    @ApiModelProperty("t_user_info.b_id")
    private String tuiBId;

    @ApiModelProperty("任务标题")
    private String taskTitle;

    @ApiModelProperty("任务内容")
    private String taskContent;

//    @ApiModelProperty("计划开始时间")
//    private LocalDateTime planStartTime;

    @ApiModelProperty("计划完成时间")
    private LocalDateTime planCompletionTime;

    @ApiModelProperty("计划完成天数")
    private Integer estimatedCompletionDays;

    @ApiModelProperty("完成时间")
    private LocalDateTime completionTime;

    @ApiModelProperty("完成状态")
    private Integer taskStatus;

    @ApiModelProperty("提醒，默认不提醒")
    private Boolean remind;

    @ApiModelProperty("收藏，默认不收藏")
    private Boolean collect;

    @ApiModelProperty("逻辑删除")
    private Boolean isDel;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改者")
    private String updateBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getbId() {
        return bId;
    }

    public void setbId(String bId) {
        this.bId = bId;
    }
    public String getTuiBId() {
        return tuiBId;
    }

    public void setTuiBId(String tuiBId) {
        this.tuiBId = tuiBId;
    }
    public String getTaskTitle() {
        return taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }
    public String getTaskContent() {
        return taskContent;
    }

    public void setTaskContent(String taskContent) {
        this.taskContent = taskContent;
    }
    public LocalDateTime getPlanCompletionTime() {
        return planCompletionTime;
    }

    public void setPlanCompletionTime(LocalDateTime planCompletionTime) {
        this.planCompletionTime = planCompletionTime;
    }
    public Integer getEstimatedCompletionDays() {
        return estimatedCompletionDays;
    }

    public void setEstimatedCompletionDays(Integer estimatedCompletionDays) {
        this.estimatedCompletionDays = estimatedCompletionDays;
    }
    public LocalDateTime getCompletionTime() {
        return completionTime;
    }

    public void setCompletionTime(LocalDateTime completionTime) {
        this.completionTime = completionTime;
    }
    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }
    public Boolean getRemind() {
        return remind;
    }

    public void setRemind(Boolean remind) {
        this.remind = remind;
    }
    public Boolean getCollect() {
        return collect;
    }

    public void setCollect(Boolean collect) {
        this.collect = collect;
    }
    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }
    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }




}
